package com.ganyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ganyu.domain.ResponseResult;
import com.ganyu.domain.entity.Comment;
import com.ganyu.domain.vo.CommentListVo;

/**
 * DATA: 2022/9/16
 * Author: 晨夕
 */
public interface CommentService extends IService<Comment> {
    //显示评论
    ResponseResult<CommentListVo> getCommentList(String commentType,Long articleId, Integer pageNum, Integer pageSize);
    //添加评论
    ResponseResult<CommentListVo> addComment(Comment comment);
}
